import instance from "@/utils/request";

import {
    loginApiTypes
} from '@/types';
// 定义登录接口
export function loginApi(data: loginApiTypes) {
    return instance({
        url: '/admin/admin/login',
        method: 'post',
        data
    })
}